import { MakeUpPropertyMap as MUPM } from "@/map/make-up/property-map";
import { MemberPropertyMap as MPM } from "@/map/member/property-map";

export interface MakeUpRecord {
  Table: {
    [MUPM.Id]: string;
    [MUPM.Title]: string;
    [MUPM.ApplyTime]: string;
    [MUPM.Applicant]: {
      [MPM.Id]: string;
      [MPM.Name]: string;
      [MPM.Avatar]: string;
    };
    [MUPM.ApplyPoint]: number;
    [MUPM.Auditor]: {
      [MPM.Id]: string;
      [MPM.Name]: string;
      [MPM.Avatar]: string;
    };
    [MUPM.AuditTime]: string;
    [MUPM.Status]: number;
  };
  Res: {
    [MUPM.Id]: string;
    [MUPM.Title]: string;
    [MUPM.ApplyTime]: string;
    [MUPM.Applicant]: {
      [MPM.Id]: string;
      [MPM.Name]: string;
      [MPM.Avatar]: string;
    };
    [MUPM.ApplyPoint]: number;
    [MUPM.Auditor]: {
      [MPM.Id]: string;
      [MPM.Name]: string;
      [MPM.Avatar]: string;
    };
    [MUPM.AuditTime]: string;
    [MUPM.Status]: number;
    [MUPM.ApplyReason]: string;
    [MUPM.ApplyAttachment]: string[];
    [MUPM.ActivityName]: string;
    [MUPM.Award]: string;
  };
}
